feat: Usage-limit alerts: make them dynamic and descriptive (time, date, profile, remaining) instead of the generic hardcoded #396
Open
andrei-hasna wants to merge 1 commit into
Conversation
…te, profile, remaining) instead of the generic hardcoded
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Objective
Usage-limit alerts: make them dynamic and descriptive (time, date, profile, remaining) instead of the generic hardcoded line
Replace the generic 'Heads up, you have less than 10% of your weekly limit left. Run /status for a breakdown.' with a dynamic, elegant message that states the actual figures, e.g. 'As of 5:00 PM Jul 23, profile account006 has X of its weekly limit remaining.' Pull time/date/profile/remaining dynamically (nothing hardcoded); keep it user-friendly and concise. The agent MUST start a goal plan for this task and drive it node by node (this is required). Investigate the current codewith implementation first and cite file:line. Build/test on remote Blacksmith only (never compile locally); keep cargo fmt (--config imports_granularity=Item), clippy --tests --all-targets -D warnings, and prettier clean; land a PR into hasna/codewith main.
Verification
Run
run_85cafd592419· backendcodewith· task7421257a-4e6c-49fe-b163-a45b62475ac3🏭 Generated by @hasnaxyz/factory